package contract;

import java.util.Calendar;
import model.Model;

public abstract class Contract extends Model{
	
	public Contract(Calendar stipulationDate, Calendar validityDate, String clauses) {
		this(Model.NO_ID,stipulationDate,validityDate,clauses);
	}
	
	public Contract(long id, Calendar stipulationDate, Calendar validityDate, String clauses) {
		super(id);
		this.stipulationDate = stipulationDate;
		this.validityDate = validityDate;
		this.clauses = clauses;
	}
	public Calendar getStipulationDate() {
		return stipulationDate;
	}
	public void setStipulationDate(Calendar stipulationDate) {
		this.stipulationDate = stipulationDate;
	}
	public Calendar getValidityDate() {
		return validityDate;
	}
	public void setValidityDate(Calendar validityDate) {
		this.validityDate = validityDate;
	}
	public String getClauses() {
		return clauses;
	}
	public void setClauses(String clauses) {
		this.clauses = clauses;
	}
	private Calendar stipulationDate;
	private Calendar validityDate;
	private String clauses;
}
